<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">统计管理</h1>
</div>
<toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
<div class="wrapper-md">
    <div class="panel panel-default">
        <div class="panel-heading">
            数据统计管理（定期，活期）
        </div>
        <div class="panel-body b-b b-light">
            <div class="form-group pull-in clearfix" ng-controller="DatepickerDemoCtrl">
                <div class="col-sm-2">
                    <label><font><font>开始时间:</font></font></label>
                    <p class="input-group">
                        <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                  </span>
                        <input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open($event)" ng-model="PriceStatistic.time"
                            is-open="opened" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close"
                        />
                    </p>
                </div>
                <div class="col-sm-2">
                    <label><font><font>结束时间:</font></font></label>
                    <p class="input-group">
                        <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="open1($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                  </span>
                        <input type="text" class="form-control" datepicker-popup="{{format}}" ng-click="open1($event)" ng-model="PriceStatistic.timet"
                            is-open="opened1" max-date="maxDate" datepicker-options="dateOptions" ng-required="true" close-text="Close"
                        />
                    </p>
                </div>
                <div class="col-sm-2">
                    <button class="btn btn-info btn-addon" style="margin-top:25px" ng-if='!graybtn' ng-click="querydata()">查询</button>
                    <button class="btn btn-light btn-addon" style="margin-top:25px" ng-if='graybtn'>查询</button>

                </div>
            </div>
        </div>
        <div class="table-responsive" style="padding-top:10px">
            <div class="col-lg-5 col-sm-6">
                <div class="panel b-a">
                    <div class="wrapper-xs bg-success no-border">
                    </div>
                    <div class="wrapper text-center">
                        <h4 class="text-u-c m-b-none">定期数据统计</h4>
                    </div>
                    <ul class="list-group">
                        <li class="list-group-item">
                            投资总额：<span ng-bind="PriceStatisticList.DInvestTotal"></span>
                        </li>
                        <li class="list-group-item">
                            利息总额：<span ng-bind="PriceStatisticList.DInterestTotal"></span>
                        </li>
                        <li class="list-group-item">
                            已还投资额（回款本金）： <span ng-bind="PriceStatisticList.DYHInvestTotal "></span>
                        </li>
                        <li class="list-group-item">
                            已还利息额：<span ng-bind="PriceStatisticList.DYHInterestTotal"></span>
                        </li>
                        <li class="list-group-item">
                            在保投资额（未回款的本金）：<span ng-bind="PriceStatisticList.DZBInvestTotal"></span>
                        </li>
                        <li class="list-group-item">
                            在保利息（未还利息）： <span ng-bind="PriceStatisticList.DZBInterestTotal"></span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-lg-5 col-sm-6">
                <div class="panel b-a">
                    <div class="wrapper-xs bg-primary no-border">
                    </div>
                    <div class="wrapper text-center b-b b-light">
                        <h4 class="text-u-c m-b-none">活期数据统计</h4>
                    </div>
                    <ul class="list-group">
                        <li class="list-group-item">
                            投资总额：<span ng-bind="PriceStatisticList.HInvestTotal "></span>
                        </li>
                        <li class="list-group-item">
                            已还投资额：<span ng-bind="PriceStatisticList.HExitPrice "></span>
                        </li>
                        <li class="list-group-item">
                            已还利息额：<span ng-bind="PriceStatisticList.HInterestTotal "></span>
                        </li>
                        <li class="list-group-item">
                            在保投资额：<span ng-bind="PriceStatisticList.HCanQuitPrice "></span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>